package config.interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

/**
 * Created by Administrator on 2017/1/6.
 */
public class DemoInterceptor implements Interceptor{
    public void intercept(Invocation invocation) {
        System.out.println("类拦截器触发前");
        invocation.invoke();
        System.out.println("类拦截器触发后");
    }
}
